#!/bin/bash

cd /data/docker/
mkdir -p /data/docker/rocketmq/broker_00/{conf,logs,store}
mkdir -p /data/docker/rocketmq/broker_01/{conf,logs,store}
mkdir -p /data/docker/rocketmq/namesrv/{logs,store}

chmod 777 -R  /data/docker/rocketmq

cd /data/docker/;docker-compose -f docker-compose-rocketmq.yml restart